package cn.tiger.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 消息视图对象
 */
@Data
@Schema(description = "消息信息")
public class MessageVO {
    
    /**
     * 消息ID
     */
    @Schema(description = "消息ID", example = "1")
    private Long id;
    
    /**
     * 发送者类型
     */
    @Schema(description = "发送者类型：user-用户，system-系统", example = "user")
    private String senderType;
    
    /**
     * 消息内容
     */
    @Schema(description = "消息内容", example = "请介绍一下Spring Boot")
    private String content;
    
    /**
     * 发送时间
     */
    @Schema(description = "发送时间", example = "2024-01-01T10:00:00")
    private LocalDateTime sendTime;
    
    /**
     * 消息类型
     */
    @Schema(description = "消息类型：TEXT-文本，CODE-代码块，MIX-混合内容", example = "TEXT")
    private String messageType;
    
    /**
     * 消息状态
     */
    @Schema(description = "消息状态：1-已发送，2-已读，0-失败", example = "1")
    private Byte status;
}
